﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="HouseManager.Update" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <h2>编辑房屋信息</h2>
            <table>
                <tr>
                    <td>小区名称:</td>
                    <td>
                        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>                       
                    </td>
                </tr>
                <tr>
                    <td>面积:</td>
                    <td>
                        <asp:TextBox ID="txtArea" runat="server"></asp:TextBox>                      
                    </td>
                </tr>
                <tr>
                    <td>期望售价:</td>
                    <td>
                        <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>                      
                    </td>
                </tr>
                <tr>
                    <td>层数:</td>
                    <td>
                        <asp:TextBox ID="txtFloorCount" runat="server"></asp:TextBox>                     
                    </td>
                </tr>
                <tr>
                    <td>所在楼层:</td>
                    <td>
                        <asp:TextBox ID="txtFloor" runat="server"></asp:TextBox>                      
                    </td>
                </tr>
                <tr>
                    <td>状态:</td>
                    <td>
                        <asp:RadioButtonList ID="rState" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True" Value="0">上架</asp:ListItem>
                            <asp:ListItem Value="1">下架</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td>年限:</td>
                    <td>
                        <asp:TextBox ID="txtYears" runat="server"></asp:TextBox>                     
                    </td>
                </tr>
                <tr>
                    <td>类型:</td>
                    <td>
                        <asp:DropDownList ID="drType" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>房屋简介:</td>
                    <td>
                        <asp:TextBox ID="txtDescribe" runat="server" Height="124px" TextMode="MultiLine" Width="224px"></asp:TextBox>                      
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align:center;">
                        <asp:Button ID="btnUpdate" runat="server" Text="编辑" OnClick="btnUpdate_Click"/>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
